package rsj.sql.stat;

import com.rlyy.aibase.utils.base.TableNode;
import rsj.annotation.DynamicSelect;
import rsj.annotation.Param;
import rsj.service.stat.dynamic.StatDynamicStatement;

import java.util.List;

/**
 * 统计
 *
 * @author yuanqinglong
 * @since 2021/8/4 15:34
 */
public interface StatDao {


    /**
     * 统计合同使用
     *
     * @param orgpIds 合同 id
     * @return {@link TableNode}
     */
    @DynamicSelect(type = StatDynamicStatement.class, method = "statisticContractUsage")
    TableNode statisticContractUsage(@Param(value = "orgpIds") List<String> orgpIds);
}
